export const pageConfig = {
    // 表单布局
    colLayout: { span: 24 },
    // 表单属性
    formProp: {
        validateTrigger: "onBlur",
        labelAlign: "left",
        labelCol: { flex: '90px' }
    },
    // 表单项样式
    itemStyle: {
        padding: '10px 0px'
    },
    // 表单项
    formItems: [
        {
            name: 'username',
            type: 'input',
            label: '用户名',
            otherOptions: {
                placeholder: '请输入用户名',
            },
            rules: [
                {
                    required: true,
                    message: '用户名不能为空'
                }
            ]
        },
        {
            name: 'password',
            type: 'password',
            label: '密码',
            otherOptions: {
                placeholder: '请输入密码',
                type: 'password',
            },
            rules: [
                {
                    required: true,
                    message: '密码不能为空'
                }
            ]
        }
    ]
}